package com.jsu.springboot_crop.service;

import com.jsu.springboot_crop.entity.Address;

import java.util.List;

/**
 * @Author Humura
 * @Date 2023/8/31 15:42
 * @Version 1.0
 */
public interface AddressService {
    void add(Address address);
    List<Address> selectByOwnName();
    Address selectDefaultByOwnName();
    void defaultAddressInfoUpdate(Address address);
    void update(Address address);
    boolean delete(Integer id);
}
